package com.turing.post.organization.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * @author zxp
 * @Dec 19, 2012
 */
@Remote
@Local
public interface MerchantBusiness {

	/**
	 * 新增特约商户
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param merchant
	 *            商户
	 * @throws PCPSApplicationException
	 */
	public void insertMerchantInfo(PCPSWebInput webInput, Merchant merchant)
			throws PCPSApplicationException;

	/**
	 * 修改特约商户
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param merchant
	 *            商户
	 * @throws PCPSApplicationException
	 */
	public void updateMerchantInfo(PCPSWebInput webInput, Merchant merchant)
			throws PCPSApplicationException;

	public void deleteMerchant(PCPSWebInput webInput, String merchantNo)
			throws PCPSApplicationException;
}
